a='ajsdfaiofggvbjfa'
b={}
for i in a:
    temp =b.get(i,0)
    b[i]=temp+1
print(b)
print(max(b.values()))